gusucode.com > VC++视频目标检测演示帧间差分法-源码程序 > VC++视频目标检测演示帧间差分法-源码程序/code/Video Demo/POSDiag.cpp

    //Download by http://www.NewXing.com
// POSDiag.cpp : implementation file
//

#include "stdafx.h"
#include "Video Demo.h"
#include "POSDiag.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// POSDiag dialog


POSDiag::POSDiag(CWnd* pParent /*=NULL*/)
	: CDialog(POSDiag::IDD, pParent)
{
	//{{AFX_DATA_INIT(POSDiag)
	m_x = 170;
	m_y = 100;
	m_width = 20;
	m_height = 60;
	//}}AFX_DATA_INIT
}


void POSDiag::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(POSDiag)
	DDX_Text(pDX, IDC_EDIT1, m_x);
	DDX_Text(pDX, IDC_EDIT2, m_y);
	DDX_Text(pDX, IDC_EDIT3, m_width);
	DDX_Text(pDX, IDC_EDIT4, m_height);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(POSDiag, CDialog)
	//{{AFX_MSG_MAP(POSDiag)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// POSDiag message handlers